Skip to content

Conversation

@wab
Copy link
Contributor

@wab wab commented Jan 27, 2026

Summary

  • Phase 1: Extract Partners page from 1530 lines into 6 focused section components
  • Phase 2 prep: Add PRD, implementation plan, and stories for style components refactoring

Changes

Phase 1 - Component extraction

  • Split Partners.tsx into 6 section components:
    • hero-section.tsx
    • philosophy-section.tsx
    • ecosystem-section.tsx
    • partner-card.tsx
    • partner-form.tsx
    • cta-section.tsx
  • Extract partner data to data/partners-data.ts
  • Remove barrel files (atoms/index.ts, molecules/index.ts, organisms/index.ts)
  • Update all imports to use direct paths

Phase 2 - Specs & Stories

  • Add specs/partners-style-components.md (PRD)
  • Add specs/partners-implementation-plan.md
  • Add stories.json with 14 feature stories

Related Issue

Closes #18

Test plan

  • Build passes (pnpm run build)
  • TypeScript validates (pnpm exec tsc)
  • Tests pass (pnpm test)
  • Visual check: /partners renders identically

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
prototype Ready Ready Preview, Comment Jan 28, 2026 5:12pm

- Add partners-style-components.md PRD with style/content separation patterns
- Add partners-implementation-plan.md with detailed implementation steps
- Add stories.json with 14 feature stories for phase 2
- Introduce local style wrappers pattern (single-file, non-exported)
- Define Text, IconBox, FormField atoms and compound components approach

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wab and others added 14 commits January 28, 2026 08:55
Add text recipe to panda.config.ts with:
- Variants: display-xl, display-lg, display-md, subtitle, body, label
- Colors: dark, muted, muted-light, white, sky, mint, yellow, coral

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Polymorphic element: h1-h4, p, span, label
- Extends TextVariantProps from text recipe
- Supports className and htmlFor props

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Sizes: sm (8x8), md (10x10), lg (16x16)
- Variants: solid, outline, ghost
- Colors: default, sky, mint, yellow, coral
- Uses compoundVariants for color combinations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Extends IconBoxVariantProps from recipe
- Props: size, variant, color, children, className

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Follows spec pattern: single-use styles should be local, not global recipes.
Removes Context (unused), uses css.raw() for style composition.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
More idiomatic Panda CSS pattern with typed variant props.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…-use

- Story 6: hover states in local styled() wrapper, not recipe
- Add styled() pattern with variants example
- Add decision table: recipe vs styled()
- Remove partnerCard from global recipes list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wab and others added 2 commits January 28, 2026 09:46
- philosophy-section: local styled() wrapper, Text, IconBox, Container
- partner-form: Text, FormField, IconBox, Container
- cta-section: Text, Container narrow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Build validation passes
- Visual regression test passes
- All 14 features complete

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove progress.txt, stories.json, partners-implementation-plan.md
- Rename partners-style-components.md → style-components.md
- Add style spec link to CLAUDE.md, remove Ralph loop section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wab wab merged commit 8da7b00 into main Jan 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partners Phase 2: Style Components & Composition

2 participants